package com.ojoin.trade.common.web.dao;

import java.util.Date;
import java.util.List;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.domain.TbUploadFile;
import org.springframework.data.domain.Pageable;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 15-10-22
 * Time: 上午10:43
 * To change this template use File | Settings | File Templates.
 */
public interface TbUploadFileDao extends BaseDao<TbUploadFile> {

	public int updateFileTypeAndStatusById(int id, String status,
			String filetype) throws BusinessException;
			
	public int updateStatusById(int id, String status) throws BusinessException;
	
	public List<TbUploadFile> queryUnCommitAfter(Date time) throws BusinessException ;
		
	public List<TbUploadFile> getFileListByCondition(Integer joinuserid, String filetype, String platformtype, String startdate,
			String enddate,Pageable page) throws BusinessException;
}
